Computing Endomorphism Rings of Abelian Surfaces over Finite Fields

ABSTRACT

Computing endomorphism rings of Abelian surfaces over finite fields is described. In one aspect, an endomorphism ring of an Abelian surface over a finite field is probabilistically computed. A genus-two curve is generated based on the probabilistically determined endomorphism ring. The genus-2 curve is used for encryption and decryption operations and a cryptosystem.

BACKGROUND

In cryptography, some public key protocols for secure key exchange and digital signatures are based on the difficulty of the discrete logarithm problem in the underlying group. In that setting, groups such as the group of points on an elliptic curve or on the Jacobian of a genus-2 hyperelliptic curve may be used. The security of the system depends on the largest prime factor of the group order, and thus it is desirable to be able to construct curves such that the resulting group order is prime. There are a number of known techniques to generate genus-2 curves based on deterministically determined endomorphism rings. However, existing techniques to deterministically determine the endomorphism rings are typically computationally intensive and slow to execute.

SUMMARY

Computing endomorphism rings of Abelian surfaces over finite fields is described. In one aspect, an endomorphism ring of an Abelian surface over a finite field is probabilistically computed. A genus-two curve is generated based on the process of probabilistically determining endomorphism rings. The genus-2 curve is used for encryption and decryption operations and a cryptosystem.

This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.

BRIEF DESCRIPTION OF THE DRAWINGS

In the Figures, the left-most digit of a component reference number identifies the particular Figure in which the component first appears.

FIG. 1 shows an exemplary system for computing endomorphism rings of Abelian surfaces over finite fields, according to one embodiment.

FIG. 2 shows an exemplary procedure for computing endomorphism rings of Abelian surfaces over finite fields, according to one embodiment.

FIG. 3 shows further aspects of the exemplary procedure of FIG. 2 for computing endomorphism rings of Abelian surfaces over finite fields, according to one embodiment.

FIG. 4 shows an exemplary procedure to compute genus-2 curves from probabilistically determined endomorphism rings of Abelian surfaces over finite fields, according to one embodiment.

DETAILED DESCRIPTION

Although not required, systems and methods for computing endomorphism rings of Abelian surfaces over finite fields are described in the general context of computer-executable instructions executed by a computing device such as a personal computer. Program modules generally include routines, programs, objects, components, data structures, etc., that perform particular tasks or implement particular abstract data types. While the systems and methods are described in the foregoing context, acts and operations described hereinafter may also be implemented in hardware.

FIG. 1 shows an exemplary system 100 for computing endomorphism rings of Abelian surfaces over finite fields, according to one embodiment. Abelian surfaces are 2-dimensional Abelian varieties. Jacobians, J, of genus 2 curves are examples of Abelian surfaces. They are geometric objects, defined by algebraic equations, admitting a composition law which gives them a group structure which behaves well with respect to the geometric structure.

System 100 includes a computing device 102, for example a general purpose computing device, a server, a laptop, a mobile computing device, and/or so on. Computing device 102 includes one or more processors 104 coupled to a tangible computer-readable storage medium (system memory 106). Processor 108 may be a microprocessor, microcomputer, microcontroller, digital signal processor, etc. System memory 106 includes, for example, volatile random access memory (e.g., RAM) and non-volatile read-only memory (e.g., ROM, flash memory, etc.). System memory 106 comprises computer-program instructions executable by processor 104, and program data that is generated and/or used by respective ones of the computer-program instructions. Such computer-program instructions and program data are respectively shown as program modules 108 and program data 110. Program modules 108 include, for example, endomorphism ring computation module 112 and “other program modules” 114 such as an Operating System (OS) to provide a runtime environment, device drivers, applications to utilize operations and/or respective portions of program data 110 generated by endomorphism ring computation module 112, and/or so on.

Endomorphism ring computation module 112 (“computation module 112”) computes endomorphism rings 116 of Abelian surfaces over finite fields. In one implementation, a genus-2 curve construction application utilizes computed endomorphism rings 116 to generate genus-2 curves for encrypting and decrypting operations in a cryptosystem 102 (e.g., encrypting and decrypting data for subsequent presentation to a user). Such a genus-2 curve construction application and resulting genus-2 curves are shown as respective portions of “other program modules” 114 and “other program data” 118. To construct genus-2 curves over finite fields whose Jacobians have a specified endomorphism ring 116, endomorphism ring computation module 112 determines whether a given Abelian surface over a smaller finite field has a specified endomorphism ring 116. Exemplary algorithms for these determinations are described in greater detail below in the respective sections titled Deterministic and Probabilistic Computation of the Action of Frobenius on-Torsion of Abelian Surfaces over Finite Fields and Exemplary Computation of IGUSA Class Polynomials for Quartic CM Fields.

In another implementation, a cryptographic application (shown as a respective portion of “other program modules” 114) utilizes the procedures for computing endomorphism ring(s) 116 of Jacobians of Abelian surfaces for point counting operations. Techniques for cryptographic-based point counting operations are known. For example, in one implementation the cryptographic application implements the genus-2 hyperelliptic curve discrete logarithm problem. It can be appreciated, that other cryptographic applications could implement the procedures for computing endomorphism ring(s) 116 of Jacobians of Abelian surfaces.

Deterministic Computation of the Action of Frobenius on N-Torsion of Abelian Surfaces over Finite Fields

Abelian varieties over finite fields of characteristic p are endowed with a Frobenius map, denoted here by F, (or π) which maps points coordinate-wise to their p^(th) powers. Verschiebung is another algebraic map, V, with the property that FV=VF=p. For an integer n, an n-torsion point of the Abelian variety is one whose n^(th) multiple is the identity element of the group. The collection of points on the Jacobian J which are defined over a specific finite field F are denoted by J(F), and the number of such points is denoted #J(F). Often the endomorphism ring 116 cannot be identified without knowing the action of Frobenius on n-torsion, for various n, on the Abelian surface over a finite field.

In one implementation, endomorphism ring computation module 112 utilizes the following deterministic algorithm to compute the action of Frobenius on n-torsion of Abelian surfaces over finite fields. In general, and in this implementation, computation module 112 checks the action of a Frobenius matrix T by computing matrices F,VεGL₄(Z/nZ) that represent the action of Frobenius and Verschiebung endomorphisms 116 on a given basis of the n-torsion. To this end, computation module 112 checks the field of definition of the n-torsion and finds a basis of it. In another implementation, different techniques are utilized to determine the field of definition of the n-torsion. For purposes of exemplary illustration, in the field of definition is shown as a respective portion of “other program data” 118. Exemplary techniques to determine the field of definition in one implementation are described below in the section titled “Probabilistic Algorithm for Computing the Field of Definition of n-Torsion of Abelian Surfaces over Finite Fields”.

As a result of computing the field of definition of n-torsion, the computation of the group structure of J(F_(p) _(k) ) provides generators for the group; multiplying these generators by appropriate integers (i.e., scalar multiples) gives generators for the n-torsion. For each generator g_(i), computation module 112 computes Frob_(p)(g_(i)) and the vector {right arrow over (c)}ε(Z/nZ)⁴ such that Frob_(p)(g_(i))=Σ[c_(j)]g_(j). This gives a matrix F (an endomorphism ring 116) representing the action of Frobenius on the given basis of the n-torsion, and the matrix for the Verschiebung is V=pF⁻¹. In view of this, computation module 112 determines whether the matrix

a₀+a₁F+a₂F₂+a₃V

is zero in M₄(Z/nZ). This in turn determines whether a given element of the ring of integers is in fact an endomorphism or not. If it is not, then the endomorphism ring of the Abelian surface cannot be the full ring of integers.

More specifically, computation module 112 determines the action of Frobenius on n-torsion of Abelian surfaces over finite fields as follows. (For purposes of exemplary illustration, input data, parameters, intermediate values, and/or results of these operations are shown as respective portions of “other program data” 118). To determine the action of Frobenius in the described scenario, computation module 112 receives (takes as input) a prime power n=l^(d), an ordinary Abelian variety A defined over a finite field F_(p) (p≠l), and a basis {g₁, g₂, g₃, g₄} of A[n] (defined over some extension field F_(q) of F_(p)). Responsive to these inputs, computation module 112 outputs two matrices F,VεGL₄(Z/nZ) representing the Frobenius and Verschiebung endomorphisms (116) of A with respect to the given basis. The algorithm performs O((dl⁴+d²)log l) point additions in A(F_(q)). TABLE 1 shows an exemplary deterministic set of operations implemented by computation module 112 to output endomorphism rings 116.

TABLE 1 EXEMPLARY DETERMINISTIC OPERATIONS TO IDENTIFY ACTION FROBENIUS ON N-TORSION OF ABELIAN SURFACES OVER FINITE FIELDS  1. Set t ← 1, r ← 1. Set F to be the 4 × 4 zero matrix. \\Initialize.  2. Compute s_(i) = [l^(d−1)]g_(i) for i = 1, . . . , 4. \\Compute l-torsion.  3. Compute h_(i) = [l^(d−t)]g_(i) for i = 1, . . . , 4. \\Compute l^(t)-torsion.  4. Compute f_(i) = Frob_(p)(h_(i)) for i = 1, . . . , 4. \\Compute Frobenius on l^(t)-torsion. \\ Operations of 2 through 6 build up rows of F by locating \\ all n-torsion of the Abelian surfaces over the field of definition, \\ by searching through an extremely large loop space to find the action.  5. Find the {right arrow over (c)} ∈ (Z/lZ)⁴ for which $f_{r} = {{\sum\limits_{j = 1}^{4}\; {\left\lbrack F_{rj} \right\rbrack h_{j}}} + {\left\lbrack c_{j} \right\rbrack {s_{j}.}}}$ \\Finds the action of F.  6. Add l^(t−1){right arrow over (c)} to the r^(th) row of F. \\Creates the r^(th) row of F.  7. Set r ← r + 1.  8. If r ≦ 4 go to Step 5. Otherwise set r ← 1 and t ← t + 1.  9. If t ≦ d go to Step 3. 10. Compute V = pF⁻¹. 11. Output (F, V). \\ endomorphism rings 116

In this manner, endomorphism ring computation module 112 outputs a matrix F, and computes V from F representing respective endomorphism rings 116 of A—and describes the action of these endomorphisms on this n-torsion space. Probabilistic Computation of the Action of Frobenius on N-Torsion of Abelian Surfaces over Finite Fields

In one implementation, endomorphism ring computation module 112 utilizes the following probabilistic (as compared to deterministic) algorithm to compute the action of Frobenius on n-torsion of Abelian surfaces over finite fields. In general, and in this implementation, computation module 112 bases this implementation on that the characteristic polynomial of Frobenius can be used to write p π as a cubic polynomial in π. Thus, the equation

${\alpha = \frac{\alpha_{0} + {\alpha_{1}\pi} + {\alpha_{2}\pi^{2}} + {\alpha_{3}\overset{\_}{\pi}}}{n}},$

can be multiplied by p and the cubic polynomial in π can be substituted to get

$\begin{matrix} {{p\; \alpha} = {\frac{b_{0} + {b_{1}\pi} + {b_{2}\pi^{2}} + {b_{3}\pi^{3}}}{n}.}} & (1) \end{matrix}$

If p does not divide the index [O_(K):Z[π, π]], then Z[π, π,α]=Z[π, π,pα], so it suffices to test whether pα is an endomorphism 116. As above, this comes down to testing whether T′=b₀+b₁π+b₂π²+b₃π³ acts as zero on the n-torsion.

To perform the test, computation module 112 determines the field F_(p) _(k) over which the n-torsion is expected to be defined. (Please see the section titled “Probabilistic Algorithm for Computing Field of Definition of n-Torsion of Abelian Surfaces over Finite Fields”). Computation module 112 selects a random point PεJ(F_(p) _(k) ) and multiplies P by an appropriate integer (scalar multiple) to get an n-torsion point Q (i.e., a set of results). (If this is not possible computation module 112 tries again with a new P.) Computation module 112 then acts on Q by the operator T′ and tests whether the identity of J is obtained. Computation module 112 repeats the test a configurable number of times until it is probable that the points Q span the n-torsion. If the set of Q spans the n-torsion, then pα is an endomorphism 116 if and only if T′ acts as zero on all the Q.

More specifically, in this implementation, computation module 112 takes as input the Jacobian J of a genus-2 curve over F_(p) with CM (complex multiplication) by K, the element πεO_(K) corresponding to the Frobenius endomorphism of J, an element αεO_(K), and a real number ε>0. Subsequent to the implementation of the algorithm presented below in TABLE 2, computation module 112 outputs true or false depending on whether αεO_(K) is in the endomorphism ring 116 with high probability level determined by ε>0.

TABLE 2 EXEMPLARY PROBABILISTIC ALGORITHM TO COMPUTE ACTION OF FROBENIUS ON N-TORSION OF ABELIAN SURFACES OVER FINITE FIELDS 1. Compute b₀, b₁, b₂, b₃, n such that α satisfies Equation (1). \\express an element of the ring of integers in terms of the \\ Frobenius element \ 2. For each prime power l^(d) dividing n, do the following: a. Set N to be $\left. N\leftarrow\left\{ \begin{matrix} \left\lceil {\frac{1}{d - {\log_{\iota}2}}\left( {{{- \log_{\iota}}ɛ} + {3d}} \right)} \right\rceil & {{{if}\mspace{14mu} \iota^{d}} > 2} \\ {\max \left\{ {{{- \left\lceil {2\mspace{11mu} \log_{2}ɛ} \right\rceil} + 6},16} \right\}} & {{{if}\mspace{14mu} \iota^{d}} = 2.} \end{matrix} \right. \right.$ \\ choose the number of trials to be performed N b. Set i ← 1. \\initialize counter c. Probabilistically compute field of definition of n-torsion of Abelian surface over a finite field (please see that similarly titled section below) to identify k such that if End(J) = O_(K), then J[l^(d)] ⊂ J(F_(p) _(k) ). \\Decide which finite field to work over. d. Compute #J(F_(p) _(k) ) = l^(r)m, where lm. If r < 4d output false. \\ Check if the finite field is big enough to contain the n- \\ torsion and find the cofactor of the group order. e. Choose a random point P ∈ J(F_(p) _(k) ). Set Q′ ← [m]P. \\Use the cofactor to produce an n-torsion point on J. f. Compute the integer such that [l^(t)]Q = O. If t < d, go to Step 2e. Otherwise set Q ← [l^(t−d)]Q^(t). \\ Check that the point is \\not a torsion point for a smaller power of the prime. g. Compute [b₀]Q + [b₁]Frob_(p)(Q) + [b₂]Frob_(p) ₂ (Q) + [b₃]Frob_(p) ₃ (Q) (2) in J. If the result is nonzero output false. \\This decides that the element alpha is not an \\endomorphism if the output is nonzero. h. If i < N, set i ← i + 1 and go to Step 5. \\ Iterates the loop. 3. Output true. \\This indicates that the element alpha is likely an \\endomorphism.

In view of the above, suppose that p does not divide [O_(K):Z[π, π]]. If α is an endomorphism 116 of J, then the computation module 112 outputs true with probability 1. If α is not an endomorphism 116 of J and J[l^(d)]⊂J(F_(p) _(k) ) for each l^(d) dividing n and k computed in Step 2c then the algorithm outputs false with probability at least 1−ε.

Probabilistic Algorithm for Computing Field of Definition of N-Torsion of Abelian Surfaces over Finite Fields

In this implementation, endomorphism ring computation module 112 implements the following algorithm to compute field of definition of n-torsion of Abelian surfaces over finite fields, according to one embodiment. This algorithm, in contrast to conventional techniques, probabilistically determines the field of definition independent of locating a group structure over respective ones of multiple extension fields. Suppose n=l^(d) for a prime l. Let H be the l-primary component of J(F_(p) _(k) ). Then H has the structure

H=Z/l ^(α) ¹ Z×Z/l ^(α) ² Z×Z/l ^(α) ³ Z×Z/l ^(α) ⁴ Z,

with α₁≦α₂≦α₃≦α₄. This implementation is based on the following observations:

-   -   If the n-torsion is defined over F_(p) _(k) , then α₁≧d, and         there are l^(4d) n-torsion points in H.     -   If the n-torsion is not defined over F_(p) _(k) , then α₁<d, and         there are at most l^(4d−1) n-torsion points in H.

In view of the above, computation module 112 implements the following calculation: write #J(F_(p) _(k) )=l^(α)m with l coprime to m. This number is computed independent of (without knowing) the actual group structure. It is an immediate consequence of knowing the zeta function of the Jacobian J over the much smaller finite field F_(p).

Choose a random point PεJ. Then [m]PεH, and test whether [mn]P=O in J. If the n-torsion is defined over F_(p) _(k) , then [mn]P=O with probability ρ=l^(4d−α), while if the n-torsion is not defined over F_(p) _(k) then [mn]P=O with probability at most p/l. In one implementation, this test is implemented a configurable number of times to determine which probability distribution is being observed to conclude with a high degree of certainty, whether the l^(d)-torsion is defined over F_(p) _(k) . This technique can be implemented for large k: while computing the group structure of J(F_(p) _(k) ) for large k may be infeasible, it is much easier to compute points on J(F_(p) _(k) ) and to do arithmetic on those points. A formal description of the algorithm is now described in TABLE 3. The algorithm takes as input the Jacobian J of a genus-2 curve, a finite field F, a prime power l^(d), and a real number ε>0. The algorithm outputs true or false.

TABLE 3 EXEMPLARY PROBABILISTIC OPERATIONS TO COMPUTE FIELD OF DEFINITION OF N-TORSION OF ABELIAN SURFACES OVER FINITE FIELDS 1. Compute #J(F) = l^(α)m, where lm. If α < 4d output false. \\Find the number of point on J over F (without finding the group structure, \\for example by using the zeta function of J over a much smaller field). 2. $\left. {{Set}\mspace{14mu} \delta}\leftarrow\frac{\iota - 1}{\iota + \sqrt{2\iota}} \right.,\left. \rho\leftarrow\iota^{{4d} - a} \right.,\left. n\leftarrow\left\lceil \frac{{- 2}\mspace{11mu} \log \mspace{11mu} ɛ}{{\rho\delta}^{2}} \right\rceil \right.,\left. B\leftarrow{{{\rho n}\left( {1 - \delta} \right)}.} \right.$ \\ Set the desired probability of success. 3. Repeat n times: (a) Choose a random point P_(i) ∈ J(F). (b) Compute Q_(i) ← [l^(d)m]P_(i) \\ Looks for elements of order n. 4. If at least B of the Q_(i) are the identity element of J, output true; otherwise output false. \\ Checks if enough point of order n have been found.

Referring to TABLE 3, if J[l^(d)] is defined over F, then computation module 112 outputs true with probability at least 1−ε. If J[l^(d)] is not defined over F, then the algorithm outputs false with probability at least 1−ε.

Exemplary Computation of IGUSA Class Polynomials for Quartic CM Fields

In one implementation, computing device 102 includes a genus-2 curve construction application (shown as a respective portion of “other program applications” 114) to generate genus-2 curves from computed endomorphism rings 116 for use in cryptographic applications. To this end, the genus-2 curve construction application implements the exemplary algorithm of TABLE 4. As described below, this exemplary algorithm leverages the deterministic and probabilistic algorithms described above with respect to TABLES 1 and 2 to generate endomorphism rings 116. From these endomorphism rings 116, the application computes IGUSA class polynomials for quartic CM fields. The roots of these fields are invariants from which the application uses an arbitrary technique to generate genus-2 curves 116 for use in cryptosystems, etc. There are multiple known techniques to generate genus-2 curves from invariants.

The following algorithm of TABLE 4 takes as input a quartic CM field K, an integer λ, and a real number ε>0, and outputs three polynomials H₁,H₂,H₃εQ[x].

TABLE 4 EXEMPLARY COMPUTATION OF IGUSA CLASS POLYNOMIALS FOR QUARTIC CM FIELDS 1. Let p ← 1, B ← 1, H₁, H₂, H₃ ← 0, T₁, T₂, T₃ ← { }. 2. Compute an integral basis B for O_(K). 3. Set p ← NextPrime(p) until p splits completely in K, p splits into principal ideals in K* (the reflex field of K), and p is prime to λ. 4. For each (i₁, i₂, i₃) ∈ F_(p) ³, do the following: (a) Compute the curve C/F_(p) with Igusa invariants (i₁, i₂, i₃), using the algorithms of Mestre and Cardona-Quer. (b) Determine zeta functions and Frobenius elements of genus-2 curves and check if this triple produces a curve which could possibly have endomorphism ring equal to the full ring of integers. Algorithm is given in Table 5 below. Operations for this step are described below in a similarly titled section. Inputs for this step include K, p, C. If the algorithm outputs false go to the next triple (i₁, i₂, i₃). If the algorithm outputs true, let S be the set of possible Frobenius elements it outputs. (c) For each α ∈ B and each π ∈ S, do the following: i. Probabilistically compute action of Frobenius on described above with respect to TABLE 2; inputs are n-torsion of Abelian surfaces over finite fields and Jac(C), π, α, ε. ii. For each prime l dividing [Z[π, π, α]:Z[π, π]], do one of the following: A. Compute minimal field of definition of n-torsion of Abelian surfaces over finite fields (operations for this step are described below in a similarly titled section); Inputs for this operational step are K, l, π. Let the output be k. B. Deterministically compute action of Frobenius on torsion of Abelian surfaces over finite fields as described above with respect to TABLE 1; inputs include Jac(C), F_(p) ^(k), l, and ε. (d) If, for all π ∈ S, at least one of the executions of 4(c)(i) or 4(c)(ii)(B) outputs false, go to the next triple (i₁, i₂, i₃). 5. Add i₁, i₂, i₃ to the sets T₁, T₂, T₃, respectively (counting multiplicities). 6. If the size of the sets T₁, T₂, T₃ is not equal to the degree of the Igusa class polynomials for K, go to Step 4. 7. For i ∈ {1, 2, 3}, do the following: (a) Compute F_(i,p) (x) = λΠ_(j∈T) _(i) (x − j) in F_(p)[x]. (b) Use the Chinese Remainder Theorem to compute F_(i)′(x) ∈ Z[x] such that F_(i) (x)′ ≡ F_(i,p) (x) (mod p), F_(i)′(x) ≡ F_(i) (x) (mod B), and the coefficients of F_(i)′(x) are in the interval [−pB/2, pB/2]. (c) If F_(i)′(x) = F_(i) (x) for all i, output H_(i) (x) = λ⁻¹F_(i) (x). If H_(i) (x) has been output for all i, terminate the algorithm. (d) Set F_(i) (x) ← F_(i)′(x). 8. Set B ← pB, and return to Step 3. // End of TABLE 4

Exemplar Computation of Zeta Functions and Frobenius Elements of Genus-2 Curves

To determine whether the Jacobian J of a given genus two curve C has endomorphism ring 116 equal to O_(K), a first step is to determine whether the endomorphism ring is an order in O_(K). This is accomplished by computing the zeta function of C, which in turn is computed by counting the number of points on C(F_(p)) and J(F_(p)). The description of the possible group orders is given by Eisentraeger-Lauter. TABLE 5 describes an exemplary algorithm to determine whether End(J) is an order in O_(K) and if so, gives a set S⊂O_(K) of elements that could correspond to the Frobenius endomorphism of J. In TABLE 5, let K be a quartic CM field, K* the reflex of K, and K₀ the real quadratic subfield of K. This algorithm takes as input a quartic CM field K, a prime p that splits completely in K and splits completely into principal ideals in K*, and a curve C defined over a finite field F_(p). The algorithm outputs true or false according to whether End(J) is an order in O_(K), where J=Jac(C). If the answer is true, the algorithm also outputs a set S of two or four elements of O_(K), one of which represents the Frobenius endomorphism of Jac(C).

TABLE 5 1. Compute the decomposition p = p₁p₂p₃p₄ in O_(K). Renumber so that p₂ = p₁ and p₃ = p₄ . 2. Compute generators for the principal ideals p₁p₃ = (α₁) and p₂p₃ = (α₂) 3. For i ← 1, 2, do the following: (a) Compute a fundamental unit u of K₀, with |u| > 1. If |α_(i)| < {square root over (p)}, set α_(i) ← α_(i)u until |α_(i)| = {square root over (p)}. If |α_(i)| > a square root of p, set α_(i) ← α_(i)u⁻¹ until |α_(i)| = {square root over (p)}. (b) Compute the minimal polynomial h_(i) (x) of α_(i). (c) Set (n_(i,+1), m_(i,+1)) ← (p + 1 − h_(i) (0)/p, h_(i) (1)). (d) Set (n_(i,−1), m_(i,−1)) ← (p + 1 + h_(i) (0)/p, h_(i) (−1)). 4. Compute #C (F_(p)). If #C (F_(p)) = n_(i,±1) for some i, set (j, τ) ← (i, ±1) accordingly. Otherwise return false. 5. Compute #J (F_(p)), using e.g. the method of Eisentraeger-Lauter. If #J ≠ m_(j,τ), return false. 6. If K is Galois, output S = {τα₁, τ α₁ , τα₂, τ α₂ }. IF K is not Galois, output S = {τα_(j), τ α_(j) }. 7. Return true.

Exemplary Operations to Compute Minimal Possible Field of Definition of n-Torsion of Abelian Surfaces Over Finite Fields

It is assumed that (π^(k)−1)/n is an endomorphism of J if and only if the n-torsion of J is defined over F_(p) _(k) . To determine which torsion we expect to be defined over F_(p) _(k) for a given k, computing device 102 implements, for example, the following algorithm of TABLE 6. The algorithm takes as input a quartic CM field K, an integer n, and an element πεO_(K). The algorithm outputs an integer k with the following property: for any a two-dimensional Abelian variety J/F_(p) whose Frobenius endomorphism corresponds to π, whose endomorphism ring 116 is the full ring of integers O_(K), J[n]⊂J(F_(p) _(k) ).

TABLE 6 1. Fix a Z-basis B of O_(K), and write π = (a₁, b₁, c₁, d₁) in this basis. Set k ← 1. 2. Write π^(k) = (a_(k), b_(k), c_(k), d_(k)) with respect to the basis B. 3. Compute gcd (a_(k) − 1, b_(k), c_(k), d_(k)). If n divides the answer, output k. Otherwise set k ← k + 1 a will and go to Step 1

An Exemplary Procedure

FIG. 2 shows an exemplary procedure 200 for computing endomorphism rings of Abelian surfaces over finite fields, according to one embodiment. For purposes of discussion, the operations of FIG. 2 are described in reference to components of FIG. 1. In the description, the left-most digit of a component reference number identifies the particular Figure in which the component first appears.

Referring to FIG. 2, at block 202, an endomorphism ring 116 of an Abelian surface over a finite field is probabilistically computed. In one implementation, endomorphism ring computation module 112 performs the operations to probabilistically compute the endomorphism ring 116. For purposes of exemplary description, although other computer-program modules can implement respective ones of the foregoing operations of procedure 200, endomorphism ring computation module 112 is described as implementing these operations unless otherwise indicated. Operations of block 202 include operations of block 204 to probabilistically determine a field of definition over which a portion of the Abelian surface is defined.

Operations of block 204 include operations of blocks 206 through 212. In particular, at block 206, endomorphism ring computation module 112 multiplies random points by scalar multiples to obtain a respective set of results. At block 208, computation module 112 evaluates each result to determine if the result is an n-torsion point. At block 210, computation module 112 determines whether it is probable that respective ones of the n-torsion points span the n-torsion. If not, operations of block 210 return to operations of block 208, which are described above. Otherwise, at block 212 the field of definition is output for subsequent use to compute the endomorphism ring 116.

Subsequent to the operations of block 204, which includes operations of blocks 206 through 210, the operations to probabilistically compute the endomorphism ring 116 continue at block 214. At block 214, computation module 112 identifies an action of Frobenius on the n-torsion. For purposes of exemplary illustration, the action of Frobenius (“action”) is shown as respective portion of “other program data” 118 of FIG. 1. At block 216, computation module 112 evaluates random points of a Jacobian over the field of definition to determine if respective ones of the points have the action. At block 218, computation module 112 probabilistically determines if the Jacobian has an element of a corresponding ring of integers (i.e., an endomorphism ring 116) as one of its endomorphisms. At this point, operations of procedure 200 continue at block 300 20 FIG. 3 as shown by on-page reference “A”.

FIG. 3 shows further aspects of the exemplary procedure of FIG. 2 for computing endomorphism rings of Abelian surfaces over finite fields, according to one embodiment. At block 302, endomorphism ring computation module 112 constructs a genus-2 curve 120 based on results of probabilistically computing the endomorphism ring 116 (i.e., operations associated with block 202 FIG. 2). At block 304, a cryptographic application utilizes the genus-2 curve 120 for cryptographic operations (e.g., encrypting and/or decrypting data). Such a cryptographic application is shown as a respective portion of “other program modules” 114 of the FIG. 1. In one implementation, the genus-2 curve 120 and/or the endomorphism ring 116 are generated on one or more different computing devices 102 as the computing device on which encoding and/or decoding modules associated with the cryptographic application reside.

FIG. 4 shows an exemplary procedure to compute genus-2 curves from probabilistically determined endomorphism rings of Abelian surfaces over finite fields, according to one embodiment. At block 402, an endomorphism ring 116 of an Abelian surface over a finite field (e.g., please refer to the operations of block 202 of FIG. 2) is probabilistically computed. At block 404, a genus-2 curve generation application computes Igusa class polynomials for quartic CM fields. The Igusa class polynomials are based on the probabilistically computed endomorphism ring 116. For purposes of exemplary illustration, such a genus-2 curve generation application is shown as respective portion of “other program modules” 114 of FIG. 1. (In one implementation, the endo morphism ring 116 is generated on a different computing device 102 then the computing device on which the genus-2 curve 120 is generated). At block 406, the genus-2 curve generation application utilizes roots of the Igusa class polynomials to generate the genus-2 curves 120 for cryptographic application.

CONCLUSION

Although computing endomorphism rings of Abelian surfaces over finite fields has been described in language specific to structural features and/or methodological operations or actions, it is understood that the implementations defined in the appended claims are not necessarily limited to the specific features or actions described. Rather, the specific features and operations discussed above with respect to FIGS. 1-4 are disclosed as exemplary forms of implementing the following claimed subject matter. 

1. A method at least partially implemented by a computing device, the method comprising: probabilistically computing an endomorphism ring of an Abelian surface over a finite field; constructing a genus-2 curve based on results of probabilistically computing the endomorphism ring; and wherein the genus-2 curve is used for encryption and decryption operations in a cryptosystem.
 2. The method of claim 1, wherein probabilistically computing the endomorphism ring further comprises probabilistically determining a field of definition over which n-torsion of the Abelian surface is defined.
 3. The method of claim 2, wherein probabilistically determining the field of definition is independent of determining group structures of the Abelian surface over extension fields.
 4. The method of claim 2, wherein probabilistically determining the field of definition further comprises: multiplying random points by scalar multiples to obtain a set of results; and for each of the results, evaluating the result to determine if the result is an n-torsion point.
 5. The method of claim 4, wherein the method further comprises repeating the evaluating until it is probable that evaluated ones of the random points span the n-torsion.
 6. The method of claim 2, wherein the method further comprises: identifying an action of Frobenius on the n-torsion; and evaluating respective random points of a Jacobian over the field of definition to determine if the points have the action; and probabilistically determining if the Jacobian has an element of a ring of integers as one of its endomorphisms, the element corresponding to the action of Frobenius on the n-torsion.
 7. A tangible computer-readable storage medium comprising computer-program instructions executable by a processor that when executed perform operations for: computing class polynomials for quartic CM fields, the class polynomials being Igusa class polynomials that are based on a probabilistically determined endomorphism ring of an Abelian surface over a finite field; and wherein roots of the class polynomials are utilized to generate a genus-2 curve for cryptographic application.
 8. The computer-readable storage medium of claim 7, wherein the computer-program instructions further comprise instructions for probabilistically computing the endomorphism ring.
 9. The computer-readable storage medium of claim 8, wherein the computer-program instructions for probabilistically computing the endomorphism ring further comprise computer-program instructions for probabilistically determining a field of definition over which n-torsion of the Abelian surface is defined.
 10. The computer-readable storage medium of claim 9, wherein the computer-program instructions for probabilistically determining the field of definition is independent of determining group structures of the Abelian surface over extension fields.
 11. The computer-readable storage medium of claim 9, wherein the computer-program instructions for probabilistically determining the field of definition further comprise instructions for: multiplying random points by scalar multiples to obtain a set of results; and for each of the results, evaluating the result to determine if the result is an n-torsion point.
 12. The computer-readable storage medium of claim 8, wherein the computer-program instructions for probabilistically determining the field of definition further comprises instructions for: identifying an action of Frobenius on the n-torsion; and evaluating respective random points of a Jacobian over the field of definition to probabilistically determine if the points have the action; and probabilistically determining if said Jacobian has an element of a ring of integers as one of its endomorphisms, the element corresponding to the action of Frobenius on the n-torsion.
 13. The computer-readable storage medium of claim 12, wherein the computerizing program instructions further comprise instructions for repeating operations associated with the evaluating until it is probable that evaluated ones of the random points span the n-torsion.
 14. The computer-readable storage medium of claim 7, wherein the computer-program instructions further comprise instructions constructing the genus-2 from respective ones of the invariants.
 15. A computing device comprising: a processor; and a memory coupled to the processor, the memory comprising computer-program instructions executable by the processor for performing operations of: probabilistically determining a field of definition over which n-torsion of an Abelian surface is defined; and wherein the field of definition is utilized to generate genus-2 curves for cryptographic application.
 16. The computing device of claim 15, wherein the computer-program instructions for probabilistically determining the field of definition are independent of determining group structures of the Abelian surface over extension fields.
 17. The computing device of claim 15, wherein the computer-program instructions for probabilistically determining the field of definition further comprise instructions for: multiplying random points by scalar multiples to obtain a set of results; and for each of the results, evaluating the result to determine if the result is an n-torsion point.
 18. The computing device of claim 15, wherein the computer-program instructions further comprise instructions for probabilistically computing an endomorphism ring of the Abelian surface over the finite field in view of the field of definition.
 19. The computing device of claim 18, wherein the computer-program instructions for probabilistically computing the endomorphism ring further comprise instructions for: probabilistically identifying an action of Frobenius on the n-torsion; and evaluating respective random points of a Jacobian over the field of definition to probabilistically determine if the points have the action.
 20. The computing device of claim 15, wherein the computer-program instructions further comprise instructions for: constructing a genus-2 curve from invariants of Igusa class polynomials generated using the probabilistic computation of endomorphism rings; and encrypting data with point operations based on a Jacobian of the genus-2 curve, the data for subsequent decryption in presentation to a user. 